package com.pmp.pojo;
// default package

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Project entity. @author MyEclipse Persistence Tools
 */

public class Project  implements java.io.Serializable {


    // Fields    

     private Integer projectId;
     private Account account;
     private String title;
     private String description;
     private Date createTime;
     private Date releaseTime;
     private String version;
     private Set teams = new HashSet(0);
     private Set tasks = new HashSet(0);


    // Constructors

    /** default constructor */
    public Project() {
    }

	/** minimal constructor */
    public Project(Date createTime, Date releaseTime) {
        this.createTime = createTime;
        this.releaseTime = releaseTime;
    }
    
    /** full constructor */
    public Project(Account account, String title, String description, Date createTime, Date releaseTime, String version, Set teams, Set tasks) {
        this.account = account;
        this.title = title;
        this.description = description;
        this.createTime = createTime;
        this.releaseTime = releaseTime;
        this.version = version;
        this.teams = teams;
        this.tasks = tasks;
    }

   
    // Property accessors

    public Integer getProjectId() {
        return this.projectId;
    }
    
    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Account getAccount() {
        return this.account;
    }
    
    public void setAccount(Account account) {
        this.account = account;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getReleaseTime() {
        return this.releaseTime;
    }
    
    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getVersion() {
        return this.version;
    }
    
    public void setVersion(String version) {
        this.version = version;
    }

    public Set getTeams() {
        return this.teams;
    }
    
    public void setTeams(Set teams) {
        this.teams = teams;
    }

    public Set getTasks() {
        return this.tasks;
    }
    
    public void setTasks(Set tasks) {
        this.tasks = tasks;
    }
   








}